POV-Ray : Newsgroups : povray.general : max_trace_level : Re: depth sorting Server Time
5 Aug 2024 22:12:25 EDT (-0400)
  Re: depth sorting  
From: Warp
Date: 3 Sep 2002 21:00:04
Message: <3d755b14@news.povray.org>
Lutz-Peter Hooge <lpv### [at] gmxde> wrote:
> Does POV do some kind of depth sorting?
> That means, first check for intersections with the object wich bounding 
> box is nearest, and if an intersection is found and the intersection 
> point is outside the second-nearest bounding box, then don't test for 
> intersections with any other objects?

  I think that the problem would be knowing which bounding box is the nearest.
This isn't necessarily an unambiguous thing.

-- 
#macro N(D)#if(D>99)cylinder{M()#local D=div(D,104);M().5,2pigment{rgb M()}}
N(D)#end#end#macro M()<mod(D,13)-6mod(div(D,13)8)-3,10>#end blob{
N(11117333955)N(4254934330)N(3900569407)N(7382340)N(3358)N(970)}//  - Warp -


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.